package vn.nt.healthcare.server.ws.service;

import java.util.List;

import vn.nt.healthcare.server.ws.domain.User;
import vn.nt.healthcare.server.ws.domain.UserSetting;
import vn.nt.healthcare.server.ws.model.CompanyInfo;
import vn.nt.healthcare.server.ws.model.LoginInfo;

public interface UserService {
	public User findUserByUuidAndPassword(String uuid, String password);

	public LoginInfo login(String uuid, String password);

	public List<CompanyInfo> findCompanies(String uuid, String password);

	public List<CompanyInfo> findCompanies(String sid);// get list company in
														// sessionId

	public LoginInfo register(UserSetting user);

	public LoginInfo registerPush(UserSetting user, String os, String token,
			String app);

	public LoginInfo loginUser(String username, String password);
}
